package com.lanou.bean;

public class Permission {
    private Integer pId;

    private String pName;

    private Integer pFather;

    private String pUrl;

    public Integer getpId() {
        return pId;
    }

    public void setpId(Integer pId) {
        this.pId = pId;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName == null ? null : pName.trim();
    }

    public Integer getpFather() {
        return pFather;
    }

    public void setpFather(Integer pFather) {
        this.pFather = pFather;
    }

    public String getpUrl() {
        return pUrl;
    }

    public void setpUrl(String pUrl) {
        this.pUrl = pUrl == null ? null : pUrl.trim();
    }

    @Override
    public String toString() {
        return "Permission{" +
                "pId=" + pId +
                ", pName='" + pName + '\'' +
                ", pFather=" + pFather +
                ", pUrl='" + pUrl + '\'' +
                '}';
    }
}